package com.lsh.oms.api.model.order;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 发货单明细
 * Created by huangdong on 16/8/1.
 */
public class OrderDeliveryDetailDTO implements Serializable {

    private static final long serialVersionUID = 2745340437215053906L;

    /**
     * ID
     */
    private Long id;

    /**
     * 发货单号
     */
    private Long doCode;

    /**
     * 类型
     */
    private Integer type;

    /**
     * SKU编码
     */
    private Long skuCode;

    /**
     * 商品编码
     */
    private Long goodsCode;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 商品条码
     */
    private String goodsBarcode;

    /**
     * 商品售卖单位
     */
    private BigDecimal goodsSaleUnit;

    /**
     * 商品版本
     */
    private Long goodsVersion;

    /**
     * 单价
     */
    private BigDecimal price;

    /**
     * 数量
     */
    private BigDecimal quantity;

    /**
     * 套餐编号
     */
    private Long packageCode;

    /**
     * 关联编码
     */
    private Long refCode;

    /**
     * 创建时间
     */
    private Integer createTime;

    /**
     * 更新时间
     */
    private Integer updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getDoCode() {
        return doCode;
    }

    public void setDoCode(Long doCode) {
        this.doCode = doCode;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(Long skuCode) {
        this.skuCode = skuCode;
    }

    public Long getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(Long goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsBarcode() {
        return goodsBarcode;
    }

    public void setGoodsBarcode(String goodsBarcode) {
        this.goodsBarcode = goodsBarcode;
    }

    public BigDecimal getGoodsSaleUnit() {
        return goodsSaleUnit;
    }

    public void setGoodsSaleUnit(BigDecimal goodsSaleUnit) {
        this.goodsSaleUnit = goodsSaleUnit;
    }

    public Long getGoodsVersion() {
        return goodsVersion;
    }

    public void setGoodsVersion(Long goodsVersion) {
        this.goodsVersion = goodsVersion;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getQuantity() {
        return quantity;
    }

    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }

    public Long getPackageCode() {
        return packageCode;
    }

    public void setPackageCode(Long packageCode) {
        this.packageCode = packageCode;
    }

    public Long getRefCode() {
        return refCode;
    }

    public void setRefCode(Long refCode) {
        this.refCode = refCode;
    }

    public Integer getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }

    public Integer getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Integer updateTime) {
        this.updateTime = updateTime;
    }

	@Override
	public String toString() {
		return "OrderDeliveryDetailDTO [id=" + id + ", doCode=" + doCode
				+ ", type=" + type + ", skuCode=" + skuCode + ", goodsCode="
				+ goodsCode + ", goodsName=" + goodsName + ", goodsBarcode="
				+ goodsBarcode + ", goodsSaleUnit=" + goodsSaleUnit
				+ ", goodsVersion=" + goodsVersion + ", price=" + price
				+ ", quantity=" + quantity + ", packageCode=" + packageCode
				+ ", refCode=" + refCode + ", createTime=" + createTime
				+ ", updateTime=" + updateTime + "]";
	}
    
    
}
